from django.conf.urls import patterns, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
#import settings

from admin import views
from django.views.generic.base import RedirectView

urlpatterns = patterns('',
    #url(r'^$', views.index, name='index'), 
    url(r'^console/payment_form/', views.manage_payment_form, name='manage_payment_form'),
    url(r'^console/payment/pay/(?P<payment_id>\w+)/', views.payment_pay, name='payment_pay'),
    url(r'^console/payment/reject/(?P<payment_id>\w+)/', views.payment_reject, name='payment_reject'),
    url(r'^console/', views.console, name='console'),
    #url(r'^console/payment/', views.manage_payment, name='manage_payment'),
    #url(r'^static/(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.STATIC_ROOT}),
)
